<html>
<head><meta charset="utf-8"><title>custom target derive · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/custom.20target.20derive.html">custom target derive</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="151178116"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/custom%20target%20derive/near/151178116" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/custom.20target.20derive.html#151178116">(Dec 08 2018 at 13:56)</a>:</h4>
<blockquote>
<p>a custom target that derives the primary target </p>
</blockquote>
<p><span class="user-mention" data-user-id="123586">@nagisa</span> can you actually do that "derive" concept? That would be very useful for AVR / embedded world. Right now we have to output the current target, and edit it, which means compiler updates are annoying.</p>



<a name="151178193"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/custom%20target%20derive/near/151178193" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/custom.20target.20derive.html#151178193">(Dec 08 2018 at 13:59)</a>:</h4>
<p>Hmm… I don’t think you can do an actual "derive"…</p>



<a name="151184484"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/custom%20target%20derive/near/151184484" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/custom.20target.20derive.html#151184484">(Dec 08 2018 at 17:10)</a>:</h4>
<p>For example, many people would prefer to do something like <code>{ base: 'avr-none-none', cpu: 'my-own-cpu' }</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>